/********************************************************************************
    Author : DreamStart
********************************************************************************/

/********************************************************************************
    Defination :
********************************************************************************/
#define FALSE 0
#define TRUE 1

/********************************************************************************
    Comment : The name defination in C and H file
********************************************************************************/
#define P2FUN(rettype,ptrclass,fctname) rettype(*fctname)
#define FUNC_P2CONST(rettype,ptrclass,memclass) const rettype*
#define FUNC(type,memclass) type
#define P2CONST(ptrtype,memclass,ptrclass) const ptrtype*
#define P2VAR(ptrtype,memclass,ptrclass) ptrtype*
#define CONSTP2VAR(ptrtype,memclass,ptrclass) ptrtype* const
#define CONSTP2CONST(ptrtype,memclass,ptrclass) const ptrtype* const
#define CONST(type,memclass) const type
#define VAR(type,memclass) type

#define PUBLIC extern

/********************************************************************************
    Type name :
********************************************************************************/
/********************************************************************************
    Comment : The type defination in C and H file
********************************************************************************/
typedef unsigned char boolean;

typedef unsigned char   uint8;
typedef unsigned short  uint16;
typedef unsigned long   uint32;

typedef signed char   sint8;
typedef signed short  sint16;
typedef signed long   sint32;
